//package com.zzyl.task;
//
//import com.zzyl.nursing.domain.Contract;
//import org.springframework.stereotype.Service;
//
//import java.util.List;
//
//@Service
//public class ContracttServiceImpl implements ContractService {
//
//    private final ContractMapper contractMapper;
//
//    public ContracttServiceImpl(ContractMapper contractMapper) {
//        this.contractMapper = contractMapper;
//    }
//
//    @Override
//    public List<Contract> getAllContracts() {
//        return contractMapper.selectAllContracts();
//    }
//
//    @Override
//    public void updateContractStatus(Contract contract) {
//        contractMapper.updateContractStatus(contract);
//    }
//}